<div class="pages" id="pager"> 
 <span>共 <strong>{{$pagers.count}}</strong> 个</span>
 {{if $pagers.count}}
 <a href="{{$pagers.first}}">首页</a>
  {{foreach from=$pagers.list item=list key=key}}
 <a {{if $pagers.page eq $key}}class="m"{{/if}} href="{{$list}}" title="{{$page_title}}">{{$key+1}}</a> 
  {{/foreach}} 
  
  {{if $pagers.last}}<a href="{{$pagers.last}}">末页</a>{{/if}} 
  {{/if}}
  </div>
